package com.jiaai.privilege.api;

import com.jiaai.privilege.model.GoodNoVO;

import java.math.BigDecimal;

/**
 * class_name:IGoodNoApi
 * describe:TODO
 * create_user:张昉平
 * create_date:2018/1/4
 * create_date:16:23
 */
public interface IGoodNoApi {

    void saveOrEdit(GoodNoVO vo);

    void delete(Integer id, Integer flag);

    Object getAll(Integer flag, String queryNum);

    Object getAppList(Integer curr);

    String buy(String mId, Integer goodNo, String mId1);

    BigDecimal getPrice(Integer gnId);

    Object deleteById(Integer id) throws Exception;
}
